package com.chen.wow.day01.autowired.named;

import org.springframework.stereotype.Component;

import com.chen.wow.day01.autowired.CompactDisc;

@Component("myName")
public class SgtPeppers implements CompactDisc {

	@Override
	public void play() {
		System.out.println("NamedSgtPeppers play... ");
	}

}
